package com.one.blocks.rbac.controller.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.one.blocks.mvc.domain.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author <a href="mailto:idler41@163.con">idler41</a> created on 2023-01-24 10:46:59
 */
@ApiModel(value = "字典数据")
@Data
public class SysDictDataVo implements Id<Integer>, Serializable {
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    /**
     * 字段数据标签
     */
    @ApiModelProperty(value = "字段数据标签")
    private String dataLabel;
    /**
     * 字段类型
     */
    @ApiModelProperty(value = "字段类型")
    private String typeValue;
    /**
     * 字段数据
     */
    @ApiModelProperty(value = "字段数据")
    private String dataValue;
    /**
     * 字段类型状态: 0-停用 1-正常
     */
    @ApiModelProperty(value = "字段类型状态: 0-停用 1-正常")
    private Integer state;
    /**
     * 是否默认: 0-否 1-是
     */
    @ApiModelProperty(value = "是否默认: 0-否 1-是")
    private Integer defaultFlag;
    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 创建者id
     */
    @ApiModelProperty(value = "创建者id", accessMode = ApiModelProperty.AccessMode.READ_ONLY)
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Integer createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", accessMode = ApiModelProperty.AccessMode.READ_ONLY)
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private LocalDateTime createTime;
    /**
     * 更新者id
     */
    @ApiModelProperty(value = "更新者id", accessMode = ApiModelProperty.AccessMode.READ_ONLY)
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Integer updateBy;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", accessMode = ApiModelProperty.AccessMode.READ_ONLY)
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private LocalDateTime updateTime;
}